import request  from '../request';



export function getAirInfo(){
    return request.get('/airInfo')
}

export function deleteAirInfo(air_id){
    return request.post('/deleteAirInfo', air_id)
}

//添加空调信息
export function addAirInfo(airInfo){
    return request.post('/addAirInfo', airInfo)
}

//修改空调信息
export function modifyAirInfo(airInfo){
    return request.post('/modifyAirInfo', airInfo)
}